﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<MVCMusicStore.ViewModels.StoreBrowseViewModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Browse
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Browsing genre <%:Model.Genre.Name %></h2>
    <ul>
    <%foreach (MVCMusicStore.Models.Album item in Model.Albums)
      { %>
      <li><a href="/Store/Details?albumId=<%:item.AlbumId %>"><%:item.Title %></a></li>
    <%} %>
    </ul>
</asp:Content>
